#include "PullAcceptMessage.h"

vsznDefault(PullAcceptMessage);

PullAcceptMessage::PullAcceptMessage()
{
	// Default constructor is
	// necessary for serialization
}

PullAcceptMessage::PullAcceptMessage(bool accept, uint64_t size, string key) :
    accept(accept), size(size), key(key)
{
}


string PullAcceptMessage::get_key()
{
  return key;
}

bool PullAcceptMessage::get_accept()
{
  return accept;
}

uint64_t PullAcceptMessage::get_size()
{
  return size;
}

